#!/usr/bin/env python
# -*- encoding: utf-8 -*-
'''
@File    :   message_window.py
@Time    :   2024/02/09 02:09:20
@Author  :   chakcy 
@Email   :   947105045@qq.com
@description   :   消息框模块
'''

import pymsgbox

def alert(text, title, button):
    msg = pymsgbox.alert(text, title, button)
    return msg

def confirm(text, title, buttons):
    msg = pymsgbox.confirm(text, title, buttons)
    return msg

def prompt(text, title, default):
    msg = pymsgbox.prompt(text, title, default)
    return msg

def password(text, title, default, mask):
    msg = pymsgbox.password(text, title, default, mask)
    return msg